package com.fusetech.flow.audit.service.dto;


import com.fusetech.os.core.query.Query;
import com.fusetech.os.core.query.QueryType;
import com.fusetech.os.core.service.dto.BaseDTO;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.NotNull;

/**
 * 审核流程对应角色DTO
 * @author xx
 * @version 2023-05-06
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class AuditProcessAuditorRoleUserDTO extends BaseDTO {

	private static final long serialVersionUID = 1L;

	        
	/**
     * 审核主表
     */
	@NotNull(message="审核主表不能为空")
    @Query(tableColumn = "a.audit_process", javaField = "auditProcess.id", type = QueryType.EQ)
	//@ExcelProperty(value = "审核主表", converter = ExcelFieldDTOConverter.class)
	//@ExcelFieldProperty(value = "auditProcess.name", service =  "com.zxhy.service.erp.audit.service.AuditProcessService", wrapper= "com.zxhy.service.erp.audit.service.mapstruct.AuditProcessWrapper")
	private AuditProcessDTO auditProcess;
	        
	/**
     * 发起角色
     */
	@NotNull(message="发起角色不能为空")
    //@Query(tableColumn = "a.auditor_role_user", javaField = "auditorRoleUser.id", type = QueryType.EQ)
	//@ExcelProperty(value = "发起角色", converter = ExcelFieldDTOConverter.class)
	//@ExcelFieldProperty(value = "auditorRoleUser.name", service =  "com.zxhy.service.erp.audit.service.SysRoleService", wrapper= "com.zxhy.service.erp.audit.service.mapstruct.SysRoleWrapper")
	//private SysRoleDTO auditorRoleUser;
	private String auditorRoleUser;

}
